package com.xj.demo.clazz;

public class ClassStructTest {
    private int num = 0;
    private static String str = "hello";

    public void test1(){
        ClassStructTest obj = null;
        obj.test2();//正常执行
        System.out.println(obj.str);
        System.out.println("test");
    }

    public static void test2(){

        System.out.println("test2");
    }

    public int test3(){
        return 0;
    }
}
